package util.model.common;

import lombok.Data;

/**
 * @author liW
 * @version 1.0
 * @date 2019-7-15 9:31
 */
@Data
public class DBConnModel {

    //URL指向要访问的数据库名mydata
    public String DBUrl = "jdbc:oracle:thin:@//172.19.15.56:1521/orcl";
    //驱动程序名
    public String DBDriver = "oracle.jdbc.driver.OracleDriver";
    //MySQL配置时的用户名
    public String DBUser = "htbddb";
    //MySQL配置时的密码
    public String DBPassword = "htbddb!@#1234,./";

    public DBConnModel() {}

    public DBConnModel(String DBUrl, String DBDriver, String DBUser, String DBPassword) {
        this.DBUrl = DBUrl;
        this.DBDriver = DBDriver;
        this.DBUser = DBUser;
        this.DBPassword = DBPassword;
    }
}
